#ifndef __ACCEPTOR_H__
#define __ACCEPTOR_H__

#include "socket_class.hpp"
#include "network.hpp"

namespace rocket 
{

class acceptor
{
public:
    acceptor(int,string);
    ~acceptor();
    void start();
    int accept();
private:
    void bind();
    void listen();
private:
    socket_class _server_fd;
    network _network_address;
};



}


#endif